<template>
  
    <el-button type="info" size="mini" @click="account">退出</el-button>
    
</template>

<script>
export default {
data() {
  return {
    
  }
},methods: {
    account(){
      this.clearLocalValue()
      if(!this.getLocalValue('token')){
        this.$router.push('/login')
      } 
    }
},
}
</script>

<style>

</style>